package oop2;

/**
 * @author oldliu
 * @since 1.0
 */
public class CellPhone {
    String brand;
    int price;
    String color;
    Cell c = new Cell();//电池

    public void jieshao() {
        System.out.println("这是一部手机，品牌是" + brand + ",价格是" + price + "元,颜色是" + color);
        System.out.println("电池是" + c.brand + ",容量是" + c.cap + "毫安");
    }
}
